﻿#ifndef SOLUTIONENTITY_H
#define SOLUTIONENTITY_H
#include <QJsonObject>
#include <QString>
#include "ISerializable.h"
#include <IDatabase.h>

class SolutionEntity : public ISerializable
{
public:
    SolutionEntity();
    // ISerializable interface
public:
    virtual QVariant toVariant() const override;
    virtual void fromVariant(const QVariant &variant) override;

public:
    QString mId;//记录id
    QString mName;//方案名称 唯一
    QJsonObject mData;//方案数据
};

#endif // SOLUTIONENTITY_H
